package van.planifolia.demo01;

import org.junit.Test;

/**
 * Created by Intellij IDEA<br>
 * 点类的测试类
 * @author Planifolia.Van
 * @version 1.0
 * @date 2022/10/25 16:15
 */
public class PointTest {
    @Test
    public void test01(){
        Point<String> point1 = new Point<>();
        point1.setxPoint("东经223");
        point1.setyPoint("北纬112");
        System.out.println(point1);
    }
    @Test
    public void test02(){
        Point<Double> point2 = new Point<>();
        point2.setxPoint(123.6);
        point2.setyPoint(233.3);
        System.out.println(point2);
    }
}
